package com.javaclimb.music.mapper;

import com.javaclimb.music.po.Consumer;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ConsumerMapper {
    /**
     * 获取用户总数
     * @return
     */
    public int getConsumerNum();

    /**
     * 获取到所有用户信息
     * @return
     */
    public List<Consumer> getConsumerList();
}
